﻿using System;
using System.Collections.Generic;

namespace Rj.PersonnelVerification.Server.DataBaseContext.Entities
{
    /// <summary>
    /// 门诊处方迁移表
    /// </summary>
    public partial class MzysTbMzcfDatum
    {
        /// <summary>
        /// 处方流水号
        /// </summary>
        public long Cflsh { get; set; }
        /// <summary>
        /// 处方ID
        /// </summary>
        public int Cfid { get; set; }
        /// <summary>
        /// 挂号流水号
        /// </summary>
        public long Ghlsh { get; set; }
        /// <summary>
        /// 代办人编号
        /// </summary>
        public long? Dbrbh { get; set; }
        /// <summary>
        /// 就诊流水号
        /// </summary>
        public long Jzlsh { get; set; }
        /// <summary>
        /// 首次开方医生
        /// </summary>
        public short Sckfys { get; set; }
        /// <summary>
        /// 首次开方日期
        /// </summary>
        public DateTime Sckfrq { get; set; }
        /// <summary>
        /// 最后开方医生
        /// </summary>
        public short? Zhkfys { get; set; }
        /// <summary>
        /// 最后开方日期
        /// </summary>
        public DateTime? Zhkfrq { get; set; }
        /// <summary>
        /// 执行科室
        /// </summary>
        public int? Zxks { get; set; }
        /// <summary>
        /// 收费类型
        /// </summary>
        public short Sflx { get; set; }
        /// <summary>
        /// 处方状态
        /// </summary>
        public short Cfzt { get; set; }
        /// <summary>
        /// 门诊处方类型（关联表MZYS_TB_MZCF_DATALX）
        /// </summary>
        public int? Mzcflx { get; set; }
        public byte[] Sjc { get; set; } = null!;
        /// <summary>
        /// 草药标志
        /// </summary>
        public string? Cybz { get; set; }
        /// <summary>
        /// 医院编码
        /// </summary>
        public int? HospitalCode { get; set; }
        public string? OtherContent { get; set; }
        public int? Xh { get; set; }
        public int? Scbj { get; set; }
        public bool? PrintFlag { get; set; }
        public DateTime? PrintTime { get; set; }
        public int? PrintWorker { get; set; }
    }
}
